﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TextMining.Master" AutoEventWireup="true" CodeBehind="Clustering.aspx.cs" Inherits="TextMining.Clustering" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <script src="JS/JSClustering.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
  <div class="input-doc">
      <asp:FileUpload style="clear:both"  runat="server" ID="flDoc1" />
      Or
      <asp:TextBox ID="txtWeb1" Width="100%"  CssClass="txtBrows" runat="server" Text="http://"></asp:TextBox>
      Or
       <asp:TextBox TextMode="MultiLine" Rows="12" Width="100%" runat="server" ID="txtDoc1"></asp:TextBox>
  </div>

  <div class="input-doc">
      <asp:FileUpload style="clear:both;display:block" runat="server" ID="flDoc2" />
      Or
      <asp:TextBox ID="txtWeb2"  CssClass="txtBrows" Width="100%" runat="server" Text="http://"></asp:TextBox>
      Or
       <asp:TextBox TextMode="MultiLine" Rows="12" Width="100%" runat="server" ID="txtDoc2"></asp:TextBox>
  </div>

  <div class="input-doc">
      <asp:FileUpload runat="server" ID="flDoc3" />
      Or
      <asp:TextBox ID="txtWeb3"   CssClass="txtBrows"  Width="100%" runat="server" Text="http://"></asp:TextBox>
      Or
       <asp:TextBox TextMode="MultiLine" Rows="12" Width="100%" runat="server" ID="txtDoc3"></asp:TextBox>
  </div>

  <div class="input-doc">
      <asp:FileUpload runat="server" ID="flDoc4" />
      Or
      <asp:TextBox ID="txtWeb4"   CssClass="txtBrows"  Width="100%" runat="server" Text="http://"></asp:TextBox>
      Or
       <asp:TextBox TextMode="MultiLine" Rows="12" Width="100%" runat="server" ID="txtDoc4"></asp:TextBox>
  </div>

  <div class="input-doc">
     <asp:Label ID="Label1" runat="server" Text="Số lượng nhóm (cluster)"></asp:Label>
    <asp:TextBox ID="txtNumCluster" runat="server" Width="80"></asp:TextBox>&nbsp;&nbsp;Nhỏ hơn tổng số file
    <asp:Button ID="btnAddMore" runat="server" Text="Thêm tài liệu" style="display:none"  OnClick="btnAddMore_Click" />&nbsp;
  </div>

   <div class="doc4">                
        <asp:Button ID="btnExe" runat="server" Text="Thực thi" CssClass="btn-exe" OnClick="btnExe_Click" OnClientClick="return ValidateData();" />&nbsp;
        <asp:Button ID="btnRemoveAll"  runat="server" Text="Xóa tất cả" CssClass="btn-exe"  OnClick="btnRemoveAll_Click" />&nbsp;
        <a href="#" data-reveal-id="myModal" data-animation="fade">Xem kết quả</a>
   </div>

<%--
   <div id="myModal" class="reveal-modal"> 
        <ul id="tabs">
            <li><a href="#" name="tab1">Gom cụm văn bản</a></li>
            <li><a href="#" name="tab2">Phân lớp website</a></li>
        </ul>
    <div id="content-popup"> 
    <div id="tab1"  style="max-height:490px;overflow:auto;">        
            <h4>Kết quả gom cụm</h4>
            <table cellpadding="2" cellspacing="1.5">
                <thead>
                    <th style="width:120px; text-align:left">Tên cụm</th>
                    <th>Văn bản</th>
                    <th style="width:120px;text-align:left">Key words</th>
                </thead>
                <asp:Literal ID="litBody" runat="server">
                </asp:Literal>
               
            </table>                            
    </div>
    <div id="tab2">
        <h2>Phân lớp website</h2>
        <table cellpadding="5" cellspacing="5">
                <thead>
                    <th style="width: 500px;">Key words</th>
                    <th style="width:120px;text-align:left">Phân lớp</th>
                </thead>
                <asp:Literal ID="litClass" runat="server">
                </asp:Literal>
                
            </table> 
        
    </div>

    </div>
    <a class="close-reveal-modal">×</a>
</div>--%>

<div class="loading" style="display:none;position:absolute;top:50px;left:250px;">
<img src="Content/Images/loading2.gif" alt="" />
</div>
</asp:Content>
